﻿

@model IEnumerable<GiaoTrinhEPU.Repositories.Print>
@{
    ViewBag.Titlte = "KẾ HOẠCH IN  - EPU";
}

<div id="content-header">
				<h1>KẾ HOẠCH IN</h1>
				<div class="btn-group">
					<a class="btn btn-large tip-bottom" title="Manage Files"><i class="icon-file"></i></a>
					<a class="btn btn-large tip-bottom" title="Manage Users"><i class="icon-user"></i></a>
					<a class="btn btn-large tip-bottom" title="Manage Comments"><i class="icon-comment"></i><span class="label label-important">5</span></a>
					<a class="btn btn-large tip-bottom" title="Manage Orders"><i class="icon-shopping-cart"></i></a>
				</div>
			</div>
			<div id="breadcrumb">
				<a href="~/Manager/Home" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>Trang chủ</a>
				<a href="#" class="current">Kế Hoạch In</a>

			</div>
    <div class="container-fluid">
	  <div class="row-fluid">
         
			                @Html.Partial("_StatusMessagePartial")
                  
		<div class="span12" style="margin-left: 0;">		
         
      
        <div class="widget-content">
            <p style="margin-left:-15px;">
                <a href="@Url.Action("Create", "Print")"><button class="btn">Thêm Mới</button></a>
            </p>
        </div>
        
        
       
     
            <div class="widget-box">
							<div class="widget-title">
							
								<h5>KẾ HOẠCH IN</h5>
							</div>
                <div class="widget-content nopadding">
                    <table class="table table-bordered data-table">
                <thead>
                    <tr>                       
                        <th style="width: 5%;" class="center">
                            STT
                        </th>
                        <th style="width:15%;" class="center">
                             @Html.ActionLink("Tên Kế Hoạch In", "Index", new { sort = "name", opt = ViewBag.SortNameOpt }, new { @class = ViewBag.SortNameOpt })
                        </th>
                         <th style="width: 25%;" class="center">
                           Mô tả
                        </th>    
                        <th style="width: 15%;" class="center">
                           Ngày In
                        </th>
                        <th style="width: 10%;" class="center">
                           Số lượng
                        </th>                    
                        <th style="width:20%;" class="action">
                          Thao Tác
                        </th>
                    </tr>
                </thead>
               <tbody>
                    @foreach (var item in Model)
                    {
                        <tr>
                            <td style="text-align: center;" class="texttiny">
                                @item.Id
                            </td>
                            <td class="left">
                              <a href ="/Manager/Print/Edit/@item.Id">
                                        @item.Name
                                    </a>
                            </td>
                            <td class="left">
                              
                                        @item.Description
                                   
                            </td>
                            <td class="left" style="text-align: center;">
                              
                                        @item.PDate.ToString().Substring(0,11)
                                   
                            </td>
                            <td class="left" style="text-align: center;">
                              
                                        @item.Quantum
                                   
                            </td>
                            <td class="action" style="text-align: center;">
                                @Html.ActionLink("Sửa", "Edit", new { id = item.Id }) &nbsp;|&nbsp;
                                @Html.ActionLink("Xóa", "Delete", new { id = item.Id }, new { onclick = "return confirm(" + @Html.Raw("'" + "Bạn Đã Xóa Thành Công" + "'") + ");" })
                            </td>
                        </tr>
                 }
             </tbody>
             </table>

                    </div>
                </div>
        </div>
          </div>
         <div class="row-fluid">
					<div id="footer" class="span12" style="padding-top :4%;">
                        <div style="padding-top:15%"></div>
						2013 &copy; Thư Viện EPU. Quản Lý Giáo Trình. Design By  <a href="~/Manager/Home">Group 16</a>
					</div>
				</div>
      </div>
  
    